package com.tianji.learning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.api.dto.leanring.LearningLessonDTO;
import com.tianji.api.dto.leanring.LearningRecordFormDTO;
import com.tianji.learning.model.po.LearningRecord;

/**
 * 学习记录表，服务类
 */
public interface ILearningRecordService extends IService<LearningRecord> {

    //查询指定课程的学习记录
    LearningLessonDTO queryLearningRecordByCourse(Long courseId);

    //提交学习记录
    void submitLearningRecord(LearningRecordFormDTO dto);
}